﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using AMS.Core.Data;

namespace AMS.Core.Services
{
    [ServiceContract]
    public interface ILoginService
    {
        //[OperationContract] // does client-side need this?
        ISessionService SessionService { get; }

        [OperationContract]
        object AttemptLogin(LoginData loginData);
        // returns a session variable object

        [OperationContract]
        void Logout(object sessionVariable);
    }
}
